import android.content.Context;
import android.widget.BaseAdapter;

public class MyAdapter extends BaseAdapter {
    private Context context;
    public MyAdapter(Context context){
        super();
        this.context = context;
    }
}
private int[] imageld = {R.drawable.icon_weather,R.drawable.icon_shopping,R.drawable.icon_security,R.drawable.icon_agriculture};
      private int[] colorld = {R.color.main_blue0,R.color.main_orange,R.color.main_orangered,R.color.main_blue};
      private String][] = {"环境气象""智能商超""预警信息""智能农场"};
public  int getCount(){
    return imageld.length;
        }
